<?php
/* SVN FILE: $Id: routes.php 7945 2008-12-19 02:16:01Z gwoo $ */
/**
 * Archivo enrutador
 *
 * Este archivo apunta las diferentes rutas a los controladores y sus acciones
 *
 * PHP versiones 4 y 5
 *
 * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @filesource
 * @copyright     Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
 * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
 * @package       cake
 * @subpackage    cake.app.config
 * @since         CakePHP(tm) v 0.2.9
 * @version       $Revision: 7945 $
 * @modifiedby    $LastChangedBy: gwoo $
 * @lastmodified  $Date: 2008-12-18 21:16:01 -0500 (Thu, 18 Dec 2008) $
 * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
 */

/**
 * Genera la conexión de archivos con urls amigables
 *
 * Ejemplo: si se quiere  que la ruta http://www.enrutacolombia.com/jerck
 * Apunte al controlador de usuarios accion index
 * se tendria
 *
 * <code>Router::connect('/jerk', array('controller' => 'users', 'action' => 'index'));</code>
 *
 */

        Router::connect('/admin', array('controller' => 'users', 'action' => 'login', 'admin'=>true));
	Router::connect('/', array('controller' => 'pages', 'action' => 'display', 'home'));
        Router::connect('/quienes-somos', array('controller' => 'pages', 'action' => 'display', 'quienes-somos'));
        Router::connect('/condiciones-de-uso', array('controller' => 'pages', 'action' => 'display', 'condiciones'));
        Router::connect('/confidencialidad', array('controller' => 'pages', 'action' => 'display', 'confidencialidad'));
        Router::connect('/paute-con-nosotros', array('controller' => 'pages', 'action' => 'display', 'paute'));
        Router::connect('/contacto', array('controller' => 'contact', 'action' => 'index'));
        Router::connect('/dep/*', array('controller' => 'products', 'action' => 'changestado'));
        Router::connect('/cleardep', array('controller' => 'products', 'action' => 'cleardep'));
        Router::connect('/registro', array('controller' => 'users', 'action' => 'add'));
        Router::connect('/promocione-productos-servicios', array('controller' => 'pages', 'action' => 'display', 'promocione'));
        Router::connect('/promociones', array('controller' => 'promotions', 'action' => 'index'));
        Router::connect('/pages/*', array('controller' => 'pages', 'action' => 'display'));

	
?>
